<template>
  <el-header>
    <div style="width: 100%">
      <navigator></navigator>
    </div>
  </el-header>
  <el-container>
    <el-aside>
      <h3 class="title">个人中心</h3>
      <el-menu
        :uniqueOpened="true"
        :default-active="$route.path"
        router
        class="el-menu-vertical-demo"
        background-color="#ffffff"
        text-color="#000000"
        active-text-color="#003399">
        <el-menu-item index="/basicInformation">
          <template #title>
            <span>基本信息</span>
          </template>
        </el-menu-item>
        <el-menu-item index="/purse">
          <template #title>钱包</template>
        </el-menu-item>
        <el-menu-item index="/set">
          <template #title>设置</template>
        </el-menu-item>
        <el-menu-item index="/message">
          <template #title>消息提醒</template>
        </el-menu-item>
      </el-menu>
    </el-aside>
    <el-main>
      <el-card class="information">
        <h3 class="message">消息提醒</h3>
        <el-collapse v-model="activeName" accordion>
          <el-collapse-item>
            <template #title>
              <span class="item">条件单购买成功通知</span>
            </template>
            <div class="reminder">您购买的条件单《推荐条件单1》已存入条件单库</div>
            <div class="day">4天前</div>
          </el-collapse-item>
        </el-collapse>
      </el-card>
    </el-main>
  </el-container>
</template>

<script lang="ts" src="./message.ts">

</script>

<style scoped>
.el-header{
  padding-inline-end: 0px;
  padding-inline-start: 0px;
}
.el-menu-vertical-demo{
  width: 250px;
  font-size: 30px;
}
.title{
  width: 200px;
  padding-left: 25px;
}
.information{
  height: 450px;
  width: 900px;
  margin: 80px 100px;
}
.message{
  margin: 5px 0px 20px -780px;
}
.reminder{
  margin: 0px 0px 0px -560px;
  padding-top: 10px;
  line-height: 0px;
}
.day{
  margin: 0px 0px 0px 800px;
  line-height: 0px;
}
.item{
  font-size: 16px;
  font-weight: bold;
}
</style>
